package com.ruoyi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动程序
 *
 * @author ruoyi
 */
@ComponentScan(basePackages = {"com.enjoychain","com.ruoyi"})
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@MapperScan({"com.enjoychain.www.**.mapper","com.ruoyi.**.mapper"})
@EnableFeignClients(basePackages="com.enjoychain.www.**")

public class RuoYiApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);
    }
}
